<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import TopArea from './components/top-area'
import NavArea from './components/nav-area'
</script>

<template>
  <el-container>
    <el-header>
      <top-area></top-area>
    </el-header>
    <el-container>
      <el-aside width="50px">
        <nav-area></nav-area>
      </el-aside>
      <el-splitter layout="vertical">
        <el-splitter-panel>
          <el-main>
            <el-container>
              <el-splitter>
                <el-splitter-panel>
                  <el-aside width="100%">Aside</el-aside>
                </el-splitter-panel>
                <el-splitter-panel>
                  <el-main>Main</el-main>
                </el-splitter-panel>
              </el-splitter>
              <el-aside width="200px">Right</el-aside>
            </el-container>
          </el-main>
        </el-splitter-panel>
        <el-splitter-panel>
          <el-footer>Footer</el-footer>
        </el-splitter-panel>
      </el-splitter>
    </el-container>
  </el-container>
</template>

<style scoped></style>
